package com.youzheng.service;

import com.youzheng.entity.Product;
import com.github.pagehelper.PageInfo;

public interface IProductService {
    PageInfo<Product> findAllProducts(Integer pageNum,Integer pageSize,String pname);
    Product findProductByPid(Integer pid);
    void updateProduct(Product product);

    void deleteProduct(Integer id);
}
